﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ExamSystem.Mdeol
{
    /// <summary>
    /// 用户类
    /// </summary>
    public class Tuser
    {
        private int tuId;//否	序号，主键，自增

        public int TuId
        {
            get { return tuId; }
            set { tuId = value; }
        }
        private string tuName;//否	用户名，唯一

        public string TuName
        {
            get { return tuName; }
            set { tuName = value; }
        }
        private string tuPwd;//否	密码，6到20位

        public string TuPwd
        {
            get { return tuPwd; }
            set { tuPwd = value; }
        }
        private string tuSex;//否	性别，男或女

        public string TuSex
        {
            get { return tuSex; }
            set { tuSex = value; }
        }
        private string tuPhone;//否	手机号，必须是11位

        public string TuPhone
        {
            get { return tuPhone; }
            set { tuPhone = value; }
        }
        public Tuser()
        {

        }
        public Tuser(int tuId, string tuName, string tuPwd, string tuSex, string tuPhone)
        {
            this.tuId = tuId;
            this.tuName = tuName;
            this.tuPwd = tuPwd;
            this.tuSex = tuSex;
            this.tuPhone = tuPhone;
        }
    }
}